home *** CD-ROM | disk | FTP | other *** search
/ Adobe Digital Video Collection / Digital Video Collection CD.iso / After Effects 5.5 / MMScriptEng.Cab / F115575_copyvalu.mm < prev    next >
Encoding:
Text File  |  2001-12-07  |  685 b   |  13 lines

  1. // Copy Values - Version 4.0
  2. // This Program Sets the value of the first set of popups to the
  3. // value of the second set of popups multiplied by a scale factor.
  4.  
  5. //      LAYER                                  PROPERTY                     CHANNEL
  6. //      ------                                 ----------                     --------
  7. // 1: layer to copy values to         property copied to          channel of property to copy to
  8. // 2: layer to copy values from     property copied from     channel of property to copy from
  9.  
  10. scale_factor = 1.0;
  11. value(pop_layer(1), pop_property(1)) [pop_channel(1)] =
  12.   value(pop_layer(2), pop_property(2)) [pop_channel(2)] * scale_factor;
  13.